﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Search.SearchViewFlags
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;

#nullable disable
namespace UnityEngine.Search
{
  /// <summary>
  ///   <para>Search view flags used to open the Object Picker in various states.</para>
  /// </summary>
  [Flags]
  public enum SearchViewFlags
  {
    /// <summary>
    ///   <para>The Search Picker window will be opened using default options.</para>
    /// </summary>
    None = 0,
    /// <summary>
    ///   <para>The Search Picker window reports debugging information while running queries.</para>
    /// </summary>
    Debug = 16, // 0x00000010
    /// <summary>
    ///   <para>The Search Picker window will ignore any indexed search entry while executing the search query.</para>
    /// </summary>
    NoIndexing = 32, // 0x00000020
    /// <summary>
    ///   <para>The Search Picker window will include results from packages.</para>
    /// </summary>
    Packages = 256, // 0x00000100
    /// <summary>
    ///   <para>The Search Picker window will open with the Saved Searches panel open.</para>
    /// </summary>
    OpenLeftSidePanel = 2048, // 0x00000800
    /// <summary>
    ///   <para>The Search Picker window will open with the Preview Inspector open.</para>
    /// </summary>
    OpenInspectorPreview = 4096, // 0x00001000
    /// <summary>
    ///   <para>The Object Picker window will open centered in the main Editor window.</para>
    /// </summary>
    Centered = 8192, // 0x00002000
    /// <summary>
    ///   <para>The Search Picker window will hide the Search field. This means the user will not be able to edit the initial search query used to open the Search window.</para>
    /// </summary>
    HideSearchBar = 16384, // 0x00004000
    /// <summary>
    ///   <para>The Object Picker window will open in compact list view.</para>
    /// </summary>
    CompactView = 32768, // 0x00008000
    /// <summary>
    ///   <para>The Search Picker window will open in list view.</para>
    /// </summary>
    ListView = 65536, // 0x00010000
    /// <summary>
    ///   <para>The Search Picker window will open in grid view.</para>
    /// </summary>
    GridView = 131072, // 0x00020000
    /// <summary>
    ///   <para>The Search Picker window will open in table view.</para>
    /// </summary>
    TableView = 262144, // 0x00040000
    /// <summary>
    ///   <para>This flag enables the use of the Saved Searches workflow in the Search Picker window.</para>
    /// </summary>
    EnableSearchQuery = 524288, // 0x00080000
    /// <summary>
    ///   <para>This flag disables the use of the Inspector Preview in the Search Picker window.</para>
    /// </summary>
    DisableInspectorPreview = 1048576, // 0x00100000
    /// <summary>
    ///   <para>When creating a new search window, this flag can be used to disable the saved search query side panel.</para>
    /// </summary>
    DisableSavedSearchQuery = 2097152, // 0x00200000
    /// <summary>
    ///   <para>This flag forces the picker to open in builder mode.</para>
    /// </summary>
    OpenInBuilderMode = 4194304, // 0x00400000
    /// <summary>
    ///   <para>This flag forces the picker to open in text mode.</para>
    /// </summary>
    OpenInTextMode = 8388608, // 0x00800000
    /// <summary>
    ///   <para>This flag disables the ability to switch between text mode and builder mode.</para>
    /// </summary>
    DisableBuilderModeToggle = 16777216, // 0x01000000
    /// <summary>
    ///   <para>Opens a search window without any borders. This is useful to open the search window as a popup window for a quick pick.</para>
    /// </summary>
    Borderless = 33554432, // 0x02000000
  }
}
